package com.xiyou.luckdraw.api.dal.entitys;

import lombok.Data;
import lombok.ToString;

import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName: UserExchange
 * @Description: 用户兑换记录实体
 * @author: limingxing
 * @Date: 2019-10-08 12:50
 */
@Data
@ToString
@Table(name = "user_exchange")
public class UserExchange implements Serializable {

    private Long id;

    private Long userId;

    private Integer productId;

    private Integer status;

    private Integer num;

    private String productName;

    private String remark;

    private Integer type;

    private Date createTime;
    private Date modifyTime;
}
